package com.simulacra.util.log;

public class Logger {
	final static String MESSAGE_PREFIX = ": ";
	public static String log (Object theSource, String theValue) {
		String finalValue = "";
		if (theSource == null) {
			finalValue= "null " + theValue;
		} else {
			finalValue = theSource.getClass().getName()+ " "+ theValue;
		}
		finalValue= MESSAGE_PREFIX+ theValue;
		System.out.println(finalValue);
		return finalValue;
	}

}
